﻿using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;

namespace CommonUtils
{
    /// <summary>
    /// 本地接口2
    /// </summary>
    [Route("api/[controller]/[action]")]
    public class LocalController : ControllerBase
    {
        /// <summary>
        /// 测试接口1
        /// </summary>
        [HttpGet]
        public IActionResult Hello()
        => Ok("hello");

        [HttpGet]
        [SwaggerOperation("测试接口2")]
        public IActionResult Hello2()
         => Ok("hello2");
    }
}